'''from random import *
a=[]
for i in range(10):
    a.append(randint(0,100))
for j in range(10):
    print(a[j],end='')
print()
print(min(a))
a.sort()
print(a)
a.reverse()
print(a) '''

'''from random import *
a = [randint(0,100) for i in range(10)]
print()
print(min(a))
a.sort()
print(a)
a.reverse()
print(a)'''

price = [1200,5330,2988,6200,1998,8888]
sale = [int(x*0.5) for x in price]
print("原价格：",price)
print("打五折的价格：",sale)


price = [1200,5330,2988,6200,1998,8888]
sale = [x for x in price if x>5000]
print("原价格：",price)
print("打五折的价格：",sale)